
#ifndef GUIMANAGER_H_
#define GUIMANAGER_H_

enum GUI_MODE {
	GUI_INGAME = 0,
	GUI_INVENTORY = 1
};

GUI_MODE guiMode = GUI_INGAME;

bool isInGame() {
	return (guiMode == GUI_INGAME);
}

void setGUI(GUI_MODE m) {
	bool ingame = isInGame();
	guiMode = m;
	if(ingame != isInGame()) {
		lcdSwap();
	}
}

#endif /* GUIMANAGER_H_ */
